arm-none-eabi-gcc -mcpu=cortex-m3 -march=armv7-m -mthumb main.c -nostartfiles -T link.ld -o main.o --specs=nano.specs --specs=nosys.specs  -Wl,-Map=mytest.map
arm-none-eabi-objcopy -O binary main.o main.bin